<?php

require_once ('CoreTag.php');

class Applet extends CoreTag {
	
	protected $code;
	protected $object;
	
	public function __construct() {
		parent::__construct ("applet");
		$this->code="";
		$this->object="";
		$this->attributeNames=array_merge($this->attributeNames,array('code','object'));
		$this->attributeValues=array_merge($this->attributeValues,array('',''));	
	}
	
	public function setCode($_code)
	{
		$this->code=(string)$_code;
		$this->setAttribute('code',$_code);
	}
	
	public function getCode()
	{
		return $this->code;
	}
	
	public function setObject($_object)
	{
		$this->object=(string)$_object;
		$this->setAttribute('object',$_object);
	}
	
	public function getObject()
	{
		return $this->object;
	}
}

?>